<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>YuHu - My Travel Agent</title>

<script type="text/javascript" src="./js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="./js/jquery-ui-1.7.2.custom.min.js"></script>

<link href="./css/cupertino/jquery-ui-1.7.2.custom2.css" rel="stylesheet" type="text/css" />
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<link rel="Shortcut Icon" type="image/png" href="./img/icon/logo-blue-16x16.png" />

<script type="text/javascript">
function loginsubmit_click(){

	uid = $("#uid").val();
	pwd = $("#pwd").val();

	$.post("login.php",{
		uid: $("#uid").val(),
		pwd: $("#pwd").val()
	}, function(data){
		alert(data);
		if (data == "pass") { 
			window.open("main.php","_self");
			} else { 
				alert("Logon Fail.");
				}
	});
}

</script>

</head>
<body>
<div id="outer">
	<div id="header">
		<p algin="center"><img src="./img/header-200x100.gif" /></p>
	</div>
	<div id="menu">
		<ul>
			<li class="first"><a href="#" accesskey="1" title="">Home</a></li>
			<li><a href="#" accesskey="2" title="">About Us</a></li>
			<li><a href="#" accesskey="3" title="">Products</a></li>
			<li><a href="#" accesskey="4" title="">Services</a></li>
			<li><a href="#" accesskey="5" title="">Contact Us</a></li>
		</ul>
	</div>
	<div id="content">
		<div id="primaryContentContainer">
			<div id="primaryContent">
<!--Main Area ----------------------------------------------------------------------------  -->
<div id="LogInPage">
<form name="LogInPageForm" id="LogInPageForm" method="post" action="login.php" >
<table>
<tr><td>Email</td><td><input type="text" name="uid" id="uid" /></td></tr>
<tr><td>Password</td><td><input type="password" name="pwd" id="pwd" /></td></tr>
<tr><td> </td><td><input type="submit" name="loginsubmit" id="loginsubmit" value="submit"  /></td></tr>
</table>
</form>
</div>


<!--Main Area ----------------------------------------------------------------------------  -->	
			</div>
		</div>
	
		<div id="secondaryContent">
<!--Menu Area ----------------------------------------------------------------------------  -->	

<!--Menu Area ----------------------------------------------------------------------------  -->
		</div>
		<div class="clear"></div>
	</div>
	<div id="footer">
		<p>Copyright &copy; 2006 Sitename.com. Designed by <a href="http://www.freecsstemplates.org">Free CSS Templates</a></p>
	</div>
</div>
</body>
</html>